package com.lei.dao;

import com.github.pagehelper.Page;
import com.lei.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @Auther: zhaoss
 * @Date: 2022/4/30 - 04 - 30 - 13:17
 * @Description: com.lei.dao
 * @version: 1.0
 */
public interface CheckGroupDao {
    void add(CheckGroup checkGroup);
    void setCheckGroupAndCheckItem(Map map);

    public  Page<CheckGroup> selectByCondition(String queryString);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void deleteAssociation(Integer id);

    void edit(CheckGroup checkGroup);

    void deleteById(Integer id);

    List<CheckGroup> findAll();
}
